package com.jacklin.service;

import com.jacklin.entity.ProductCategory;

import java.util.List;

/**
 * @Author:JackLin
 * @Create 2019/3/25 19:55
 */
public interface CategoryService {

    /**根据id查询商品类目*/
    ProductCategory findOne(Integer categoryId);

    /**查询所有类目*/
    List<ProductCategory> findAll();

    /**查询类目列表*/
    List<ProductCategory> findByCategoryTypeIn(List<Integer> categoryTypeList);

    ProductCategory save(ProductCategory productCategory);


}
